<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改业务数据审计')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-mq-edit" th:object="${bizLogMq}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">标题：</label>
                <div class="col-sm-8">
                    <input name="mqTitle" th:field="*{mqTitle}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">类型：</label>
                <div class="col-sm-8">
                    <select name="mqType" class="form-control m-b" required>
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">内容：</label>
                <div class="col-sm-8">
                    <textarea name="mqContent" class="form-control">[[*{mqContent}]]</textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="status" value="">
                        <label th:for="status" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">请求URL：</label>
                <div class="col-sm-8">
                    <input name="uri" th:field="*{uri}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">请求参数：</label>
                <div class="col-sm-8">
                    <input name="args" th:field="*{args}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">登录用户信息：</label>
                <div class="col-sm-8">
                    <input name="remoteUser" th:field="*{remoteUser}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展1：</label>
                <div class="col-sm-8">
                    <input name="ext1" th:field="*{ext1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展2：</label>
                <div class="col-sm-8">
                    <input name="ext2" th:field="*{ext2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展3：</label>
                <div class="col-sm-8">
                    <input name="ext3" th:field="*{ext3}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展4：</label>
                <div class="col-sm-8">
                    <input name="ext4" th:field="*{ext4}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展5：</label>
                <div class="col-sm-8">
                    <input name="ext5" th:field="*{ext5}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展6：</label>
                <div class="col-sm-8">
                    <input name="ext6" th:field="*{ext6}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展7：</label>
                <div class="col-sm-8">
                    <input name="ext7" th:field="*{ext7}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展8：</label>
                <div class="col-sm-8">
                    <input name="ext8" th:field="*{ext8}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展9：</label>
                <div class="col-sm-8">
                    <input name="ext9" th:field="*{ext9}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展10：</label>
                <div class="col-sm-8">
                    <input name="ext10" th:field="*{ext10}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展11：</label>
                <div class="col-sm-8">
                    <input name="ext11" th:field="*{ext11}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展12：</label>
                <div class="col-sm-8">
                    <input name="ext12" th:field="*{ext12}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展13：</label>
                <div class="col-sm-8">
                    <input name="ext13" th:field="*{ext13}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展14：</label>
                <div class="col-sm-8">
                    <input name="ext14" th:field="*{ext14}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">扩展15：</label>
                <div class="col-sm-8">
                    <input name="ext15" th:field="*{ext15}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/mq";
        $("#form-mq-edit").validate({
            focusCleanup: true
        });

        //console.log("======url:"+window.location.href);
        var curURL = window.location.href;
        if(curURL && curURL.indexOf("view=readonly") > -1){
            //设置只读
            $.operate.setFormRead("form-mq-edit");
        }
        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-mq-edit').serialize());
            }
        }
    </script>
</body>
</html>